﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000AB9 RID: 2745
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MakeDrinkCsReq : IMessage<MakeDrinkCsReq>, IMessage, IEquatable<MakeDrinkCsReq>, IDeepCloneable<MakeDrinkCsReq>, IBufferMessage
	{
		// Token: 0x170022A0 RID: 8864
		// (get) Token: 0x06007AC1 RID: 31425 RVA: 0x00147EA1 File Offset: 0x001460A1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MakeDrinkCsReq> Parser
		{
			get
			{
				return MakeDrinkCsReq._parser;
			}
		}

		// Token: 0x170022A1 RID: 8865
		// (get) Token: 0x06007AC2 RID: 31426 RVA: 0x00147EA8 File Offset: 0x001460A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MakeDrinkCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170022A2 RID: 8866
		// (get) Token: 0x06007AC3 RID: 31427 RVA: 0x00147EBA File Offset: 0x001460BA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MakeDrinkCsReq.Descriptor;
			}
		}

		// Token: 0x06007AC4 RID: 31428 RVA: 0x00147EC1 File Offset: 0x001460C1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MakeDrinkCsReq()
		{
		}

		// Token: 0x06007AC5 RID: 31429 RVA: 0x00147ECC File Offset: 0x001460CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MakeDrinkCsReq(MakeDrinkCsReq other) : this()
		{
			this.jIJKPFBLGKE_ = other.jIJKPFBLGKE_;
			this.cMBKNELNFEM_ = ((other.cMBKNELNFEM_ != null) ? other.cMBKNELNFEM_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007AC6 RID: 31430 RVA: 0x00147F18 File Offset: 0x00146118
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MakeDrinkCsReq Clone()
		{
			return new MakeDrinkCsReq(this);
		}

		// Token: 0x170022A3 RID: 8867
		// (get) Token: 0x06007AC7 RID: 31431 RVA: 0x00147F20 File Offset: 0x00146120
		// (set) Token: 0x06007AC8 RID: 31432 RVA: 0x00147F28 File Offset: 0x00146128
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint JIJKPFBLGKE
		{
			get
			{
				return this.jIJKPFBLGKE_;
			}
			set
			{
				this.jIJKPFBLGKE_ = value;
			}
		}

		// Token: 0x170022A4 RID: 8868
		// (get) Token: 0x06007AC9 RID: 31433 RVA: 0x00147F31 File Offset: 0x00146131
		// (set) Token: 0x06007ACA RID: 31434 RVA: 0x00147F39 File Offset: 0x00146139
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PNLHADCBNMN CMBKNELNFEM
		{
			get
			{
				return this.cMBKNELNFEM_;
			}
			set
			{
				this.cMBKNELNFEM_ = value;
			}
		}

		// Token: 0x06007ACB RID: 31435 RVA: 0x00147F42 File Offset: 0x00146142
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MakeDrinkCsReq);
		}

		// Token: 0x06007ACC RID: 31436 RVA: 0x00147F50 File Offset: 0x00146150
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MakeDrinkCsReq other)
		{
			return other != null && (other == this || (this.JIJKPFBLGKE == other.JIJKPFBLGKE && object.Equals(this.CMBKNELNFEM, other.CMBKNELNFEM) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007ACD RID: 31437 RVA: 0x00147FA0 File Offset: 0x001461A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.JIJKPFBLGKE != 0U)
			{
				num ^= this.JIJKPFBLGKE.GetHashCode();
			}
			if (this.cMBKNELNFEM_ != null)
			{
				num ^= this.CMBKNELNFEM.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007ACE RID: 31438 RVA: 0x00147FF5 File Offset: 0x001461F5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007ACF RID: 31439 RVA: 0x00147FFD File Offset: 0x001461FD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007AD0 RID: 31440 RVA: 0x00148008 File Offset: 0x00146208
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.cMBKNELNFEM_ != null)
			{
				output.WriteRawTag(26);
				output.WriteMessage(this.CMBKNELNFEM);
			}
			if (this.JIJKPFBLGKE != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.JIJKPFBLGKE);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007AD1 RID: 31441 RVA: 0x00148064 File Offset: 0x00146264
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.JIJKPFBLGKE != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.JIJKPFBLGKE);
			}
			if (this.cMBKNELNFEM_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.CMBKNELNFEM);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007AD2 RID: 31442 RVA: 0x001480BC File Offset: 0x001462BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MakeDrinkCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.JIJKPFBLGKE != 0U)
			{
				this.JIJKPFBLGKE = other.JIJKPFBLGKE;
			}
			if (other.cMBKNELNFEM_ != null)
			{
				if (this.cMBKNELNFEM_ == null)
				{
					this.CMBKNELNFEM = new PNLHADCBNMN();
				}
				this.CMBKNELNFEM.MergeFrom(other.CMBKNELNFEM);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007AD3 RID: 31443 RVA: 0x00148124 File Offset: 0x00146324
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007AD4 RID: 31444 RVA: 0x00148130 File Offset: 0x00146330
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 26U)
				{
					if (num != 64U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.JIJKPFBLGKE = input.ReadUInt32();
					}
				}
				else
				{
					if (this.cMBKNELNFEM_ == null)
					{
						this.CMBKNELNFEM = new PNLHADCBNMN();
					}
					input.ReadMessage(this.CMBKNELNFEM);
				}
			}
		}

		// Token: 0x04002EEE RID: 12014
		private static readonly MessageParser<MakeDrinkCsReq> _parser = new MessageParser<MakeDrinkCsReq>(() => new MakeDrinkCsReq());

		// Token: 0x04002EEF RID: 12015
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002EF0 RID: 12016
		public const int JIJKPFBLGKEFieldNumber = 8;

		// Token: 0x04002EF1 RID: 12017
		private uint jIJKPFBLGKE_;

		// Token: 0x04002EF2 RID: 12018
		public const int CMBKNELNFEMFieldNumber = 3;

		// Token: 0x04002EF3 RID: 12019
		private PNLHADCBNMN cMBKNELNFEM_;
	}
}
